package com.itheima.service.mongo;

import com.itheima.domain.mongo.Video;
import com.itheima.domain.vo.PageBeanVo;

public interface VideoService {
    //根据用户的id 查询 推荐的小视频
    PageBeanVo findVideoByUserId(Integer pageNumber, Integer pageSize, Long loginUserId);

    //保存视频
    void saveVideo(Video video);

    //分页查询视频列表
    PageBeanVo findVideoByUid(Integer pageNumber, Integer pageSize, Long uid);
}
